<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>联系我们 - 甜品店</title>
    <link href="css/tailwind.min.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
</head>
<body>
    <!-- 导航栏 -->
    <nav class="bg-transparent fixed w-full z-50">
        <div class="max-w-7xl mx-auto px-4">
            <div class="flex justify-between items-center h-16">
                <!-- 左侧Logo -->
                <div class="flex-shrink-0">
                    <a href="./index.html" class="flex items-center">
                        <img src="cake/logo.jpeg" alt="Logo" class="h-16 w-16 object-contain">
                    </a>
                </div>
                
                <!-- 中间导航链接 -->
                <div class="flex-1 flex justify-center space-x-12">
                    <a href="./index.html" class="text-sm text-gray-600 hover:text-[#B3927F]">首页</a>
                    <a href="./products.html" class="text-sm text-gray-600 hover:text-[#B3927F]">产品系列</a>
                    <a href="./about.html" class="text-sm text-gray-600 hover:text-[#B3927F]">品牌故事</a>
                    <a href="./contact.html" class="text-sm text-[#B3927F]">联系我们</a>
                </div>
                
                <!-- 右侧功能图标 -->
                <div class="flex items-center space-x-6">
                    <img src="cake/个人.png" alt="个人" class="h-6 w-6 cursor-pointer">
                    <div class="relative">
                        <img src="cake/消息.png" alt="消息" class="h-6 w-6 cursor-pointer">
                        <span class="absolute -top-2 -right-2 bg-[#B3927F] text-white text-xs rounded-full w-4 h-4 flex items-center justify-center">0</span>
                    </div>
                    <img src="cake/搜索.png" alt="搜索" class="h-6 w-6 cursor-pointer">
                </div>
            </div>
        </div>
    </nav>

    <!-- 联系我们内容 -->
    <div class="bg-[#F5F5F5] py-12">
        <div class="container mx-auto px-4">
            <h1 class="text-3xl font-bold text-[#B3927F] text-center mb-8">联系我们</h1>
            <div class="max-w-4xl mx-auto">
                <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
                    <!-- 联系信息 -->
                    <div class="bg-white p-6 rounded-lg shadow-md">
                        <h2 class="text-xl font-semibold text-[#B3927F] mb-4">联系方式</h2>
                        <div class="space-y-4">
                            <div class="flex items-center">
                                <svg class="w-6 h-6 text-[#B3927F] mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z" />
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z" />
                                </svg>
                                <p class="text-gray-600">江西省九江市XX路XX号</p>
                            </div>
                            <div class="flex items-center">
                                <svg class="w-6 h-6 text-[#B3927F] mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z" />
                                </svg>
                                <p class="text-gray-600">400-123-4567</p>
                            </div>
                            <div class="flex items-center">
                                <svg class="w-6 h-6 text-[#B3927F] mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
                                </svg>
                                <p class="text-gray-600">contact@sweetshop.com</p>
                            </div>
                        </div>
                    </div>

                    <!-- 联系表单 -->
                    <div class="bg-white p-6 rounded-lg shadow-md">
                        <h2 class="text-xl font-semibold text-[#B3927F] mb-4">发送消息</h2>
                        <form class="space-y-4">
                            <div>
                                <label class="block text-gray-700 mb-2" for="name">姓名</label>
                                <input type="text" id="name" class="w-full px-4 py-2 border rounded-md focus:outline-none focus:ring-2 focus:ring-[#B3927F]">
                            </div>
                            <div>
                                <label class="block text-gray-700 mb-2" for="email">邮箱</label>
                                <input type="email" id="email" class="w-full px-4 py-2 border rounded-md focus:outline-none focus:ring-2 focus:ring-[#B3927F]">
                            </div>
                            <div>
                                <label class="block text-gray-700 mb-2" for="message">消息</label>
                                <textarea id="message" rows="4" class="w-full px-4 py-2 border rounded-md focus:outline-none focus:ring-2 focus:ring-[#B3927F]"></textarea>
                            </div>
                            <button type="submit" class="w-full bg-[#B3927F] text-white py-2 rounded-md hover:bg-[#9A7B69]">
                                发送消息
                            </button>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 页脚 -->
    <footer class="bg-[#F5F5F5] text-gray-600">
        <div class="max-w-7xl mx-auto py-12 px-4">
            <div class="xl:grid xl:grid-cols-3 xl:gap-8">
                <div class="space-y-8 xl:col-span-1">
                    <h2 class="text-lg font-semibold text-[#B3927F]">甜品店</h2>
                    <p class="text-sm">为您提供最优质的甜点体验</p>
                </div>
            </div>
            <div class="mt-12 border-t border-gray-200 pt-8">
                <p class="text-base text-gray-400 xl:text-center">
                    &copy; 2024 甜品店. 保留所有权利.
                </p>
            </div>
        </div>
    </footer>

    <a href="./cart.html" class="fixed bottom-8 right-8 bg-white rounded-full p-4 shadow-lg hover:shadow-xl transition-all z-50 group">
        <div class="relative">
            <svg class="w-6 h-6 text-[#B3927F] group-hover:text-[#9A7B69]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z" />
            </svg>
            <span id="cart-count" class="absolute -top-2 -right-2 bg-[#B3927F] text-white text-xs rounded-full w-5 h-5 flex items-center justify-center">0</span>
        </div>
    </a>

    <script src="js/cart.js"></script>
</body>
</html> 